home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / mandel2 / mandel.txt < prev   
Encoding:
Text File  |  1999-07-05  |  4.5 KB  |  113 lines  |  [TEXT/ttxt]

  1.  
  2.           Anfy Mandel - Copyright (C) by Fabio Ciucci 1996-99
  3.  
  4.  
  5. This applet can generate and animate a realtime Mandelbrot fractal. This
  6. applet is fully parametrized, so you can generate all kinds of Mandelbrot
  7. fractal effects.
  8.  
  9. **********************************************************************
  10.  
  11. NECESSARY FILES.
  12.  
  13. Apart from an optional overlay image, the following 3 ".class" files 
  14. must be uploaded: 
  15.  
  16. mandel.class
  17. Lware.class
  18. anfy.class
  19.  
  20. Plus, mandel.jar for speedy loading on recent browsers.
  21.  
  22. *********************************************************************
  23.  
  24. EXAMPLE.
  25.  
  26. Insert the <applet> tag in your html document as follows to add this applet
  27. to your page (Comments after the ";" symbol are code explanations and
  28. acceptable min/max values. They are not part of the applet language):
  29.  
  30.  
  31. <applet archive="mandel.jar" code="mandel.class" width="300" height="300">
  32. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  33. <param name="regcode" value="NO">          ; Registration code (if you have it)
  34. <param name="reglink" value="NO">          ; Optional URL link when the applet
  35.                                            is "clicked".
  36. <param name="regnewframe" value="YES">     ; Reglink opened in new frame?
  37. <param name="regframename" value="_blank">     ; Name of new frame for reglink
  38. <param name="statusmsg" value="Mandel applet"> ; Statusbar message
  39. <param name="res" value="1">                   ; resolution (1-8)
  40. <param name="xstart" value="0">                ; X start
  41. <param name="ystart" value="7000">             ; Y start
  42. <param name="xmin" value="60">                 ; X min
  43. <param name="xmax" value="-120">               ; X max
  44. <param name="ymin" value="60">                 ; Y min
  45. <param name="ymax" value="-120">               ; Y max
  46. <param name="numpal" value="1">                ; Palette number (1-27)
  47. <param name="overimg" value="NO">              ; Optional image over applet
  48. <param name="overimgX" value="0">              ; Over image X offset
  49. <param name="overimgY" value="0">              ; Over image Y offset
  50. <param name="memdelay" value="1000">           ; Memory deallocation delay
  51. <param name="priority2 value="3">              ; Task priority (1..10)
  52. <param name="MinSYNC" value="10">           ; Min. milliseconds/frame for sync
  53. Your browser doesn't support Java.        ; Msg in no java browsers
  54. </applet>                                 ; End of classtag
  55.  
  56.  
  57. ***********************************************************************
  58.  
  59. INSTRUCTIONS.
  60.  
  61.  
  62. The following instructions describe how to change parameters:
  63.  
  64. Attempting to change the credits parameter will disable the applet.
  65.  
  66. To activate the reg parameters read the shareware registration notes.
  67. In the "regcode" parameter, place the registration code you purchased
  68.  from the author. If the code is correct and the applet is run from
  69. the registered domain name, you can use "link" parameters to link to a URL
  70. when the applet is "clicked".
  71.  
  72. If you set "regnewframe" to "YES", you can specify a specific frame location
  73. for the reglink:
  74.  
  75. "_blank"  : To load the link in a new blank unnamed browser window.
  76. "_self"   : To load the link into the same window the applet occupies.
  77. "_parent" : To load the link into the immediate FRAMESET parent.
  78. "_top"    : To load the link into the top body of the window.
  79.  
  80. You can also set a custom frame name, such as "myframe1".
  81.  
  82. With the "overimg" parameter you can specify the name of an image that will
  83. be painted over the applet. The best options are transparent GIF images.
  84. NOTE: Animated GIF images are supported, but will be animated only on 
  85. latest browsers (Netscape 4 and Explorer 4 or newer).
  86.  
  87. With "overimgX" and "overimgY" you can center the image over the applet area.
  88.  
  89. The size of the applet is determined by the width and height tags.
  90.  
  91. The "res" parameter determines the resolution: with res=1 pixels are small,
  92. but effect is slow. With res=8 pixels are too big but the effect is fast.
  93. The optimum choices are 2-4.
  94.  
  95. Parameters for fractal generation: I don't place limits to values, and 
  96. they can be positive or negative. Place values at your own risk.
  97.  
  98. The following parameters affect the applet actions depending on the positive
  99. or negative values:
  100.  
  101.  XMin:  + scroll right,  - scroll left
  102.  XMax:  + less width X,  - enlarge width X
  103.  YMin:  + more height Y, - less height Y
  104.  YMax:  + scroll down,   - scroll up
  105.  
  106. These descriptions are generalizations. You are free to experiment with 
  107. a variety of values.
  108.  
  109. 27 different palettes are available, just select the one you prefer for
  110. your web page.
  111.  
  112.  
  113.